const CracoLessPlugin = require('craco-less');
const path = require("path")
//就是在配置webpack
module.exports = {
    webpack:{
        //设置路径别名
        alias:{
            "@":path.resolve(__dirname,"src"), //c:\desttop/web32/react-project\src
            "@comp":path.resolve(__dirname,"src/components")
        }
    },
    plugins: [
        {
            plugin: CracoLessPlugin
        }
    ],
}